package com.jbm.jbmsupplier.util;

import java.io.Serializable;

/**
 * Created by lyh on 17-2-13.
 */
public class IStatVillage implements Serializable
{
    private static final long serialVersionUID = -970106145103894867L;

    public IStatVillage()
    {
        back = false;
        method = "";
        errorinfo = "";

        start = 0;
        count = 0;
    }

    public IStatVillage(boolean back, String errorinfo)
    {
        this();

        this.back = back;
        this.errorinfo = errorinfo;
    }

    public IStatVillage(String method, String startdate, String enddate,int gi_Id,String gi_name)
    {
        this();
        this.method = method;
        this.startdate = startdate;
        this.enddate=     enddate;
        this.gi_id=gi_Id;
        this.gi_name=gi_name;
    }


    public boolean back;
    public String method;
    public String errorinfo;



    public String gi_name;
    public int gi_id;
    public Integer usercounts;
    public int totalopen;
    public int sucess;
    public int failed;
    public String successrate;


    public int start;
    public int count;

    public String startdate;
    public String enddate;
    public IStatVillage[] statVillageList;
}
